<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>备份恢复</title>
    <link rel="stylesheet" href="../../../static/layui/css/layui.css"  media="all">
    <link rel="stylesheet" href="../../../static/expand/eleTree/eleTree/eleTree.css"  media="all">
</head>
<body>

<!--搜索表单-->
<form class="layui-form layui-from-pane" action="" style="margin-top:20px"   >


    <div class="layui-inline">
        <label class="layui-form-label">备份恢复类型</label>
        <div class="layui-input-block">
            <select id="search_dept_type"  >
                <option value="">请选择</option>
                <option value="0">备份恢复</option>
                <option value="1">科室</option>
            </select>
        </div>
    </div>

    <div class="layui-inline" >
        <div class="layui-input-block">
            <button type="button" id="searchDept" class="layui-btn layui-btn-primary  layui-btn-sm layui-btn-submit " lay-submit="" lay-filter="searchDept">
                <i class="layui-icon">&#xe615;</i>
            </button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">
                <i class="layui-icon">&#xe669;</i>
            </button>
        </div>
    </div>
</form>

<!--lay-filter="backup_table" 表格初始化后下边监听table.on('toolbar(backup_table)', function(obj)表格中的头+行操作事件-->
<div >
    <table class="layui-table" id="backup_table" lay-filter="backup_table"></table>
</div>
<!--backup_table_right 运用在表格初始化行数据cols中的操作栏 toolbar: -->
<script type="text/html" id="backup_table_right">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail_backup">查看</a>
    <a class="layui-btn layui-btn-xs" lay-event="edit_backup">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete_backup">删除</a>
</script>

<!-- backup_table_top 运用在表格初始化属性中的 toolbar: -->
<script type="text/html" id="backup_table_top"  >
    <div class="layui-btn-container">
        <button id="add_perm" type="button" class="layui-btn layui-btn-primary layui-btn-sm"  lay-event="add_backup">
            <i class="layui-icon">&#xe654;</i>
        </button>
        <button id="deleted_perm" type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="batch_backup_deleted">
            <i class="layui-icon">&#xe640;</i>
        </button>
    </div>
</script>
</body>
<script src="../../../static/layui/layui.js" charset="utf-8"></script>
<script src="../../../static/expand/main.js" charset="utf-8"></script>
<script src="../../../static/js/system/backup.js" charset="utf-8"></script>
</html>